<template>
	<view class="content">
		<navbar></navbar>
		
		<!-- #ifndef MP-WEIXIN -->
		<btn color="blue" @change='change'></btn>
		<!-- #endif -->
	</view>
</template>

<script>
	// 可以尝试使用easyCom来导入 
	import navbar from '@/components/navber/navbar.vue'
	import btn from '@/btn/btn.vue'
	export default {
		components:{
			btn,
			navbar
		},
		data() {
			return {

			}
		},
		onLoad() {
			uni.getSystemInfo({
				success(res) {
					console.log(res)
				},
				error(err){
					console.log(err)
				},
				complete(res) {
					console.log('hello world',res)
				}
			})
		},
		methods: {
			change(e){
				console.log(e);
			}
		}
	}
</script>

<style>
	

</style>
